//
// Created by 17775 on 2024/9/26.
//

#ifndef RAYCI_CROSSSECTIONDATARECEIVEQUEUEOBSERVER_H
#define RAYCI_CROSSSECTIONDATARECEIVEQUEUEOBSERVER_H


#include "CrossSectionDataReceiveListener.h"
#include "AbstractQueueObserver.h"

class CrossSectionDataReceiveQueueObserver : public AbstractQueueObserver<CrossSectionDataReceiveListener, std::shared_ptr<PowerProfileData<std::vector<float>>>>  {
protected:
    void notifyValueToListener(CrossSectionDataReceiveListener* listener, const std::shared_ptr<PowerProfileData<std::vector<float>>>& data) const override {
        listener->receiveMessage(data);
    }
};


#endif //RAYCI_CROSSSECTIONDATARECEIVEQUEUEOBSERVER_H
